//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.carhailing.system.vo;

public class CouponVo {
    private Long couponId;
    private Long couponScheduleId;
    private String nonce;
    private Long timestamp;
    private String sign;

    public CouponVo() {
    }

    public Long getCouponId() {
        return this.couponId;
    }

    public Long getCouponScheduleId() {
        return this.couponScheduleId;
    }

    public String getNonce() {
        return this.nonce;
    }

    public Long getTimestamp() {
        return this.timestamp;
    }

    public String getSign() {
        return this.sign;
    }

    public void setCouponId(final Long couponId) {
        this.couponId = couponId;
    }

    public void setCouponScheduleId(final Long couponScheduleId) {
        this.couponScheduleId = couponScheduleId;
    }

    public void setNonce(final String nonce) {
        this.nonce = nonce;
    }

    public void setTimestamp(final Long timestamp) {
        this.timestamp = timestamp;
    }

    public void setSign(final String sign) {
        this.sign = sign;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof CouponVo)) {
            return false;
        } else {
            CouponVo other = (CouponVo)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label71: {
                    Object this$couponId = this.getCouponId();
                    Object other$couponId = other.getCouponId();
                    if (this$couponId == null) {
                        if (other$couponId == null) {
                            break label71;
                        }
                    } else if (this$couponId.equals(other$couponId)) {
                        break label71;
                    }

                    return false;
                }

                Object this$couponScheduleId = this.getCouponScheduleId();
                Object other$couponScheduleId = other.getCouponScheduleId();
                if (this$couponScheduleId == null) {
                    if (other$couponScheduleId != null) {
                        return false;
                    }
                } else if (!this$couponScheduleId.equals(other$couponScheduleId)) {
                    return false;
                }

                label57: {
                    Object this$timestamp = this.getTimestamp();
                    Object other$timestamp = other.getTimestamp();
                    if (this$timestamp == null) {
                        if (other$timestamp == null) {
                            break label57;
                        }
                    } else if (this$timestamp.equals(other$timestamp)) {
                        break label57;
                    }

                    return false;
                }

                Object this$nonce = this.getNonce();
                Object other$nonce = other.getNonce();
                if (this$nonce == null) {
                    if (other$nonce != null) {
                        return false;
                    }
                } else if (!this$nonce.equals(other$nonce)) {
                    return false;
                }

                Object this$sign = this.getSign();
                Object other$sign = other.getSign();
                if (this$sign == null) {
                    if (other$sign == null) {
                        return true;
                    }
                } else if (this$sign.equals(other$sign)) {
                    return true;
                }

                return false;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof CouponVo;
    }

    public int hashCode() {
        int result = 1;
        Object $couponId = this.getCouponId();
        result = result * 59 + ($couponId == null ? 43 : $couponId.hashCode());
        Object $couponScheduleId = this.getCouponScheduleId();
        result = result * 59 + ($couponScheduleId == null ? 43 : $couponScheduleId.hashCode());
        Object $timestamp = this.getTimestamp();
        result = result * 59 + ($timestamp == null ? 43 : $timestamp.hashCode());
        Object $nonce = this.getNonce();
        result = result * 59 + ($nonce == null ? 43 : $nonce.hashCode());
        Object $sign = this.getSign();
        result = result * 59 + ($sign == null ? 43 : $sign.hashCode());
        return result;
    }

    public String toString() {
        return "CouponVo(couponId=" + this.getCouponId() + ", couponScheduleId=" + this.getCouponScheduleId() + ", nonce=" + this.getNonce() + ", timestamp=" + this.getTimestamp() + ", sign=" + this.getSign() + ")";
    }
}
